package com.berchen.utils;

import com.berchen.common.TokenModel;

public class TokenUtils {

    private TokenUtils(){}
    public static String createToken(TokenModel model){

        String tokenStr="phone="+model.getPhone()+"id="+model.getId()+"timestmp="+model.getTimestmp();
        return MD5Util.md5(tokenStr);
    }
}
